package com.hw.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @Classname: FeignHystrixOrderFallBackService
 * @Description: 对FeignHystrixOrderService接口内的所有方法进行降级配置处理
 * @Date: 2021/9/29
 * @Author: huwei
 */
@Component
public class FeignHystrixOrderFallBackServiceImpl implements FeignHystrixOrderService {

    @Override
    public String getDataInfoSuccess(String id) {
        return "FeignHystrixOrderFallBackServiceImpl类中getDataInfoSuccess方法_降级处理";
    }

    @Override
    public String getDataInfoError(String id) {
        return "FeignHystrixOrderFallBackServiceImpl类中getDataInfoError方法_降级处理";
    }
}
